﻿
using System.Collections.Generic;
namespace Nop.Core.Domain.Media
{
    public class Slideshow : BaseEntity
    {
        #region Settings

        public bool Enabled { get; set; }

        public SlideshowType Type { get; set; }

        public double Height { get; set; }
        public double Width { get; set; }

        public double? AutoSlideInterval { get; set; }

        public string ViewTemplate { get; set; }

        #region Carousel

        public bool? HoverPause { get; set; }
        public bool? Links { get; set; }
        public bool? Navigation { get; set; }
        public bool? ShowTitle { get; set; }

        #endregion

        #region 3D

        public bool? AutoRotate { get; set; }
        public double? MouseWheel { get; set; }
        public double? Speed { get; set; }
        public double? XPosition { get; set; }
        public double? YPosition { get; set; }
        public double? YRadius { get; set; }

        #endregion

        #endregion

        public virtual int PictureLinkCollectionId { get; set; }
        public virtual PictureLinkCollection PictureLinkCollection { get; set; }
    }

    public enum SlideshowType : int
    {
        None,
        Carousel,
        ThreeD
    }
}
